package com.tanjun.web.annotation;

import org.springframework.stereotype.Indexed;

import java.lang.annotation.*;

@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Indexed
public @interface HasPermission {

    /**
     * 需要的功能
     * @return
     */
    String value() default "";
}
